package Utils;

public class Constants {
	public static int PRECISION = 3;// 精度

	// public static int USER_SIZE = 30995;
	public static int USER_RANDOM_SIZE = 1000;

	public static int max_status_count = 10;// 统计发帖频率，每个用户至少需要发贴的个数
	public static int max_comment_count = 10;// 统计发帖频率，每个用户至少需要发贴的个数
	// 字符串解析相关
	public static String HASH_SEPERATOR = "#";
	public static String LINE_SEPERATOR = "\n";
	public static String DATASET_USERID_SEPERATOR = ",";

	// borda排名
	public static String root = "./opinions/";
	public static String FILE_ENCODING = "utf-8";

	// 排序
	public static int DESC = -1;// 降序
	public static int ASC = 1;// 升序

	// 测试数据相关参数
	// public static int DATASET_SIZE = 5000;

	// 和排序计算相关的参数
	public static String INTER_RESULT_PATH = "inter_results/";

	public static String USERID_ACTIVITY_PATH = INTER_RESULT_PATH + "userId_activity.txt";
	public static String USERID_STATUSCOUNT_PATH = INTER_RESULT_PATH + "userId_statusesCount.txt";
	public static String USERID_STATUSAVGLENGTH_PATH = INTER_RESULT_PATH + "userId_statusesAVGLength.txt";
	public static String USERID_STATUS_DAYS_PATH = INTER_RESULT_PATH + "userId_days.txt";
	public static String USERID_CREATED_TIME_PATH = INTER_RESULT_PATH + "userId_createdTime.txt";
	public static String USERID_CONTENT_PATH = INTER_RESULT_PATH + "userId_content.txt";
	public static String USERID_STABILITY_PATH = INTER_RESULT_PATH + "userId_stability.txt";
	public static String USERID_RELIABILITY_PATH = INTER_RESULT_PATH + "userId_reliability.txt";
	public static String STATUS_TIME_PARAMS_PATH = INTER_RESULT_PATH + "statusTimeParameters.txt";
	// public static String USERID_BORDA_PATH = "userId_borda.txt";

	// experiment params
	public static double RELIA_FWEIGHT = 1;
	public static double RELIA_VWEIGHT = 1;
	public static double ACT_PARAM = 2;
	public static double ACT_DECAY = 7;

	public static int topN = 200;// 计算前topN的PRF

	public static int WEIGHT_COUNT = 4;// 4个因素
	// public static double WEIGHT_ACT = 5;
	// public static double WEIGHT_RELIABILITY = 10;
	// public static double WEIGHT_CONTENT = 5;
	// public static double WEIGHT_STABILITY = 1;

	// 排名实验的地址
	// 权重实验的地址
//	public static String USERID_PATH = "userIds_ranking.txt";
//	public static String HUMAN_TAG_PATH = "human_tag_ranking.txt";

	public static String USERID_PATH = "userIds_weighting.txt";
	public static String HUMAN_TAG_PATH = "human_tag_weighting.txt";

}
